﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.quest.Display {
    import Display.DialogUI.*;
    import org.aswing.event.*;
    import Modules.guide.ui.*;
    import flash.net.*;

    public class QuestXPromoEpilogueDialog extends WelcomeDialog {

        private var m_callBackURL:String;

        public function QuestXPromoEpilogueDialog(_arg1:Object){
            this.m_callBackURL = _arg1.url;
            super(ZLoc.t("Quest", _arg1.message), ZLoc.t("Quest", _arg1.title), GenericDialogView.TYPE_SENDGIFTS, null, true, _arg1.npcEpilogueUrl, "", null);
        }
        override protected function onPanelClick(_arg1:AWEvent):void{
            navigateToURL(new URLRequest(this.m_callBackURL), "_top");
            super.onPanelClick(_arg1);
        }

    }
}//package Modules.quest.Display 
